package com.summer.framework.core.tenant;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Description:
 * @auther Ice Yang
 * Date 2025/7/24 14:40
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "summer.tenant")
public class TenantProperties {

    private boolean enable = false;

    private String tenantId = "tenant_id";

    private String headerName = "X-Tenant-Id";
}
